using Vin.Extension.Framework.Dto;
using Vin.Extension.Framework.Models;
using Vin.Extension.Framework.Monitor.Dto.Entities;
using Vin.Extension.Framework.Monitor.Dto.List;
using Vin.Extension.Framework.Monitor.Entities;

namespace Vin.Extension.Framework.Monitor.ServiceInterface;

public interface ISysRequestLogService
{
    public Task<List<SysRequestLogDto>> ListAsync(SysRequestLogListDto dto);
    
    public Task<SysRequestLogDto> QueryAsync(long id);
    
    public Task<bool> PreSaveAsync(VinHttpContextInfoModel infoModel, int costTime, object sql);

    public Task<bool> SaveAsync(SysRequestLog log);
}